#!/bin/sh

source /usr/local/sccli/functions
INPUTFILE=/usr/local/sccli/clients
OUTPUTFILE=/usr/share/simond/nameip.list

#BEGIN DESCRIPTION
#Simon, monitor de consumo de banda
#END DESCRIPTION

echo gerando arquivos do simon





while read LINE;
do
		#<name>:<ip>

	echo $(field name):$(field ip)


done < $INPUTFILE > $OUTPUTFILE
#done < /usr/share/sccli/clients > /usr/share/simond/nameip.list
